GtkProgressBar: Mark the default text for translation
authorMatthias Clasen <mclasen@redhat.com>
Fri, 22 Aug 2014 15:06:08 +0000 (11:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 30 Sep 2014 03:05:22 +0000 (23:05 -0400)
At the same time, use a small space before %.
This matches what is done in GtkCellRendererProgress.

https://bugzilla.gnome.org/show_bug.cgi?id=735192

gtk/gtkprogressbar.c

index 84aeef995025a01e7a0d64c300ef7811d04276d2..784d54c3eb143d5b6989deb615e34f449ec9cd14 100644 (file)
@@ -441,7 +441,7 @@ get_current_text (GtkProgressBar *pbar)
   if (priv->text)
     return g_strdup (priv->text);
   else
-    return g_strdup_printf ("%.0f %%", priv->fraction * 100.0);
+    return g_strdup_printf (C_("progress bar label", "%.0f %%"), priv->fraction * 100.0);
 }
 
 static void